package cn.e4j.modular.crm.entity;

import cn.afterturn.easypoi.excel.annotation.Excel;
import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;

import java.math.BigDecimal;
import java.time.LocalDateTime;
import java.time.LocalDate;
import java.io.Serializable;
import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * <p>
 *
 * </p>
 *
 * @author shixc
 * @since 2019-02-01
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWCV_T")
public class GwcvT extends PO<GwcvT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWCVENT", type = IdType.INPUT)
    private String GWCVENT;

    private String GWCVDOCNO;

    private BigDecimal GWCVSEQ;

    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCVDOCDATE;

    private String GWCV001;

    private String GWCV002;
    private String GWCV003;

    private BigDecimal GWCV004;
    private String GWCV005;
    private String GWCV006;

    private String GWCV007;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCV008;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCV009;

    private String GWCV010;

    private String GWCV030;

    private BigDecimal GWCV031;

    private String GWCV050;
    private String GWCV101;

    private String GWCV102;
    private BigDecimal GWCV103;

    private String GWCV104;

    private String GWCV105;

    private String GWCV106;

    private String GWCV107;

    private String GWCV108;

    private String GWCVPLANT;
    private String GWCVLEGAL;
    private String GWCVACTI;

    @TableField(fill = FieldFill.INSERT)
    private String GWCVUSER;

    @TableField(fill = FieldFill.INSERT)
    private String GWCVGRUP;

    @TableField(fill = FieldFill.UPDATE)
    private String GWCVMODU;

    @TableField(fill = FieldFill.INSERT)
    private String GWCVTIME;

    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWCVDATE;

    @TableField(fill = FieldFill.INSERT)
    private String GWCVORIG;

    @TableField(fill = FieldFill.INSERT)
    private String GWCVORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWCVENT;
    }

}
